<?php
namespace Home\Controller;
use Think\Controller;
class CommonController extends Controller {
	protected $client_info;
     public function _initialize () {
		 //保证页面编码为UTF-8
		header("Content-type: text/html; charset=utf-8");
		if(!session("cs_id"))
			$this->redirect("Index/index");
		
			$this->client_info=M("client")->find(session("cs_id"));
			$this->assign("client_info",$this->client_info);
	 }
}